package com.css.fxfzmh.zcpt.sys.controller;

import com.css.fxfzmh.zcpt.sys.service.SUserService;
import com.css.fxfzmh.base.response.RestResponse;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/menu")
@Slf4j
public class MenuController {

    @Autowired
    SUserService sUserService;

    /**
     * app账号注册
     */
    @GetMapping("/getMenu")
    public RestResponse getMenu() {
        RestResponse restResponse = null;
        try{
            restResponse = RestResponse.succeed();
        }catch (Exception e){
            log.error("新增用户失败!",e);
            restResponse = RestResponse.fail("新增用户失败!");
        }
        return restResponse;
    }

}
